home *** CD-ROM | disk | FTP | other *** search
/ Aminet 30 / Aminet 30 (1999)(Schatztruhe)[!][Apr 1999].iso / Aminet / game / misc / videopokeri_sr.lha / poker.h / Gadgets.h next >
C/C++ Source or Header  |  1992-05-14  |  5KB  |  197 lines

  1.  
  2. /***********************************************************************
  3.  *                                                                     *
  4.  *  Headerfile   : gadgets.h                                           *
  5.  *                                                                     *
  6.  *  Program      : VIDEO-POKERI                                        *
  7.  *                                                                     *
  8.  *  Version      : 0.99e      (05.11.1991)   (14.05.1992)              *
  9.  *                                                                     *
  10.  *  Author       : JanTAki                                             *
  11.  *                 92100  RAAHE ,  FINLAND                             *
  12.  *                                                                     *
  13.  *  E-mail       : janta@ratol.fi                                      *  
  14.  *                                                                     *
  15.  ***********************************************************************/
  16.  
  17.  
  18. /* gadgets.h */
  19.  
  20. /* Gadget-structure-definitions */
  21.  
  22. struct Gadget KorttiPohja[] =
  23.     {
  24.         {
  25.         NULL,                   /* next */
  26.         KORTTIX, KORTTIY,         /* x- & y-coord. */
  27.         KORTTIL, KORTTIK, GADGHNONE,
  28.         RELVERIFY | GADGIMMEDIATE, BOOLGADGET,
  29.         NULL, NULL, NULL, NULL, NULL, 0, NULL    /* id-number */
  30.         },
  31.         {
  32.         &KorttiPohja[0],                    /* next */
  33.         KORTTIX+KORTTIL+KORTTIVALI, KORTTIY,        /* x- & y-coord. */
  34.         KORTTIL, KORTTIK, GADGHNONE,
  35.         RELVERIFY | GADGIMMEDIATE, BOOLGADGET,
  36.         NULL, NULL, NULL, NULL, NULL, 1, NULL    /* id-number */
  37.         },
  38.         {
  39.         &KorttiPohja[1],        /* next */
  40.         KORTTIX+2*KORTTIL+2*KORTTIVALI, KORTTIY,         /* x- & y-coord. */
  41.         KORTTIL, KORTTIK, GADGHNONE,
  42.         RELVERIFY | GADGIMMEDIATE, BOOLGADGET,
  43.         NULL, NULL, NULL, NULL, NULL, 2, NULL    /* id-number */
  44.         },
  45.         {
  46.         &KorttiPohja[2],        /* next */
  47.         KORTTIX+3*KORTTIL+3*KORTTIVALI, KORTTIY,        /* x- & y-coord. */
  48.         KORTTIL, KORTTIK, GADGHNONE,
  49.         RELVERIFY | GADGIMMEDIATE, BOOLGADGET,
  50.         NULL, NULL, NULL, NULL, NULL, 3, NULL    /* id-number */
  51.         },
  52.         {
  53.         &KorttiPohja[3],        /* next */
  54.         KORTTIX+4*KORTTIL+4*KORTTIVALI, KORTTIY,         /* x- & y-coord. */
  55.         KORTTIL, KORTTIK, GADGHNONE,
  56.         RELVERIFY | GADGIMMEDIATE, BOOLGADGET,
  57.         NULL, NULL, NULL, NULL, NULL, 4, NULL    /* id-number */
  58.         }
  59.     };    
  60.  
  61. struct Gadget Eexit =
  62.     {
  63.     &KorttiPohja[4],    /* next */
  64.     0, 2,            /* x- & y-coord. */
  65.     8, 8, GADGHNONE,
  66.     RELVERIFY | GADGIMMEDIATE, BOOLGADGET,
  67.     NULL, NULL, NULL, NULL, NULL, 99, NULL    /* id-number */
  68.     };
  69.  
  70. struct Gadget Pelit =
  71.     {
  72.     &Eexit,                    /* next */
  73.     18, 8,                    /* x- & y-coord. */
  74.     72, 15, GADGHNONE,
  75.     RELVERIFY | GADGIMMEDIATE, BOOLGADGET,
  76.     NULL, NULL, NULL, NULL, NULL, 49, NULL    /* id-number */
  77.     };
  78.  
  79. struct Gadget Panos =
  80.     {
  81.     &Pelit,                    /* next */
  82.     138, 6,                    /* x- & y-coord. */
  83.     24, 23, GADGHNONE | GADGIMAGE,
  84.     RELVERIFY | GADGIMMEDIATE, BOOLGADGET,
  85.     (APTR)&PanosImage, NULL, NULL, NULL, NULL, 50, NULL    /* id-number */
  86.     };
  87.  
  88. struct Gadget Voitot =
  89.     {
  90.     &Panos,                    /* next */
  91.     205, 8,                    /* x- & y-coord. */
  92.     98, 15, GADGHNONE,
  93.     RELVERIFY | GADGIMMEDIATE, BOOLGADGET,
  94.     NULL, NULL, NULL, NULL, NULL, 51, NULL    /* id-number */
  95.     };
  96.  
  97. UBYTE UNDOBUFFER[20];
  98. UBYTE JonoPuskuri[20];
  99.  
  100. struct StringInfo JonoInfo =
  101.     {
  102.     JonoPuskuri,
  103.     UNDOBUFFER,
  104.     0,
  105.     20,
  106.     0,
  107.     0,0,0,0,0,
  108.     0,
  109.     0,
  110.     NULL
  111.     };
  112.  
  113. struct Gadget Jono =
  114.     {
  115.     &Voitot,                    /* next */
  116.     149, 208,
  117.     162, 12,
  118.     NULL,
  119.     RELVERIFY | GADGIMMEDIATE,
  120.     STRGADGET,
  121.     NULL,
  122.     NULL,
  123.     NULL,
  124.     NULL,
  125.     (APTR)&JonoInfo,
  126.     20,
  127.     NULL
  128.     };
  129.  
  130. struct Gadget Painike[] =
  131.     {
  132.         {
  133.         &Jono,                    /* next TUPLAUS */
  134.         PAINIKEX, PAINIKEY,        /* x- & y-coord. */
  135.         PAINIKEL, PAINIKEK, GADGHIMAGE | GADGIMAGE,
  136.         RELVERIFY | GADGIMMEDIATE, BOOLGADGET,
  137.         (APTR)&PainikeImage[10], (APTR)&PainikeImage[11],
  138.         NULL, NULL, NULL, 16, NULL    /* id-number */
  139.         },
  140.         {
  141.         &Painike[0],            /* next PIENI */
  142.         PAINIKEX+PAINIKEL+PAINIKEVALI, PAINIKEY,    /* x- & y-coord. */
  143.         PAINIKEL, PAINIKEK, GADGHIMAGE | GADGIMAGE,
  144.         RELVERIFY | GADGIMMEDIATE, BOOLGADGET,
  145.         (APTR)&PainikeImage[8], (APTR)&PainikeImage[9],
  146.         NULL, NULL, NULL, 15, NULL    /* id-number */
  147.         },
  148.         {
  149.         &Painike[1],            /* next SUURI */
  150.         PAINIKEX+2*PAINIKEL+2*PAINIKEVALI, PAINIKEY,    /* x- & y-coord. */
  151.         PAINIKEL, PAINIKEK, GADGHIMAGE | GADGIMAGE,
  152.         RELVERIFY | GADGIMMEDIATE, BOOLGADGET,
  153.         (APTR)&PainikeImage[6], (APTR)&PainikeImage[7],
  154.         NULL, NULL, NULL, 14, NULL    /* id-number */
  155.         },
  156.         {
  157.         &Painike[2],            /* next PANOS */
  158.         PAINIKEX+3*PAINIKEL+3*PAINIKEVALI, PAINIKEY,    /* x- & y-coord. */
  159.         PAINIKEL, PAINIKEK, GADGHIMAGE | GADGIMAGE,
  160.         RELVERIFY | GADGIMMEDIATE, BOOLGADGET,
  161.         (APTR)&PainikeImage[4], (APTR)&PainikeImage[5],
  162.         NULL, NULL, NULL, 13, NULL    /* id-number */
  163.         },
  164.         {
  165.         &Painike[3],        /* next VOITONMAKSU */
  166.         PAINIKEX+4*PAINIKEL+4*PAINIKEVALI, PAINIKEY,    /* x- & y-coord. */
  167.         PAINIKEL, PAINIKEK, GADGHIMAGE | GADGIMAGE,
  168.         RELVERIFY | GADGIMMEDIATE, BOOLGADGET,
  169.         (APTR)&PainikeImage[2], (APTR)&PainikeImage[3],
  170.         NULL, NULL, NULL, 12, NULL    /* id-number */
  171.         },
  172.         {
  173.         &Painike[4],        /* next JAKO */
  174.         PAINIKEX+5*PAINIKEL+5*PAINIKEVALI, PAINIKEY,    /* x- & y-coord. */
  175.         PAINIKEL, PAINIKEK, GADGHIMAGE | GADGIMAGE,
  176.         RELVERIFY | GADGIMMEDIATE, BOOLGADGET,
  177.         (APTR)&PainikeImage[0], (APTR)&PainikeImage[1],
  178.         NULL, NULL, NULL, 11, NULL    /* id-number */
  179.         },
  180.     };
  181.  
  182. struct Gadget About =
  183.     {
  184.     NULL,            /* next */
  185.     201, 184,        /* x- & y-coord. */
  186.     49, 19,
  187.     GADGHCOMP,
  188.     RELVERIFY | GADGIMMEDIATE, BOOLGADGET,
  189.     NULL, NULL, NULL, NULL, NULL, 111, NULL    /* id-number */
  190.     };
  191.  
  192.  
  193. /* end of gadgets.h */
  194.  
  195.  
  196.  
  197.